import models.Location

interface LocationsRepository {
    // user/moderator

    suspend fun locations(): Result<List<Location>>

    // admin
    suspend fun createLocation(name: String): Result<Int>

    suspend fun deleteLocation(id: Int): Result<Boolean>
}